package engine.game.physicalObjects.concreteObjects;

import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;

import engine.game.physicalObjects.PhysicalObject;
import engine.game.physicalObjects.StillObject;

public class Net extends StillObject {

	/* *********************************************************
	 * Attributes
	 * ********************************************************* */
	protected static int DEFAULT_HEIGHT = 300;
	protected static int DEFAULT_WIDTH = 10;
	
	
	
	/**
	 * create a net with the default height and width place at the given x-axis
	 * @param x x-axis of the net
	 */
	public Net(int x) {
		this._engloberRect = new Rectangle(
				new Point(x-(DEFAULT_WIDTH/2), 0), 
				new Dimension(DEFAULT_WIDTH, DEFAULT_HEIGHT));
	}

	@Override
	public void handleIntersectionWith(PhysicalObject phy) {
		// TODO Auto-generated method stub

	}
	
	public int getHeight(){
		return DEFAULT_HEIGHT;
	}

}
